package top.deepdesigner.service;

import top.deepdesigner.pojo.DtsGrouponRules;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/23 星期五 20:43:31 <br/>
 */
public interface DtsGrouponRulesService {
  Long getCouponCount();

  List<DtsGrouponRules> getCouponList(Integer page, Integer limit, String sort, String order, Integer goodsId);

  DtsGrouponRules createCoupon(DtsGrouponRules grouponRules);

  DtsGrouponRules updateCoupon(DtsGrouponRules dtsGrouponRules);

  void deleteCoupon(DtsGrouponRules dtsGrouponRules);
}
